/**
 * Created by fanweihua on 2016/12/2.
 */
import React from 'react';
import LoadmoreHtml from './loadmoreHtml.js';
const Loadmore = React.createClass({
    getInitialState: function () {
        return {
            html: LoadmoreHtml.html
        };
    },
    render(){
        return (
            <div className="Z_slideIn">
                <div className="page slideIn">
                    <div className="Z_content_code">
                        <div dangerouslySetInnerHTML={{__html: this.state.html}}></div>
                    </div>
                </div>
                <div className="Z_content">
                    <div className="Z_panel-body-backgound">
                        <LoadmoreNav></LoadmoreNav>
                    </div>
                </div>
            </div>
        )
    }
});
module.exports = Loadmore;
const LoadmoreNav = React.createClass({
    render(){
        return (
            <div className="Z_panel-body">
                <div className="page__hd">
                    <h1 className="page__title">Loadmore</h1>
                    <p className="page__desc">加载更多</p>
                </div>
                <div className="page__bd">
                    <div className="weui-loadmore">
                        <i className="weui-loading"></i>
                        <span className="weui-loadmore__tips">正在加载</span>
                    </div>
                    <div className="weui-loadmore weui-loadmore_line">
                        <span className="weui-loadmore__tips">暂无数据</span>
                    </div>
                    <div className="weui-loadmore weui-loadmore_line weui-loadmore_dot">
                        <span className="weui-loadmore__tips"></span>
                    </div>
                </div>
            </div>
        );
    }
});